package com.sy.pet.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author liangSY
 * @since 2024-09-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("pet_info")
public class PetInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;

    /**
     * 宠物名称
     */
    @TableField("title")
    private String title;

    @TableField("nickname")
    private String nickname;

    @TableField("cover")
    private String cover;

    @TableField("description")
    private String description;

    @TableField("sex")
    private Boolean sex;

    @TableField("status")
    private Boolean status;

    @TableField("create_time")
    private LocalDateTime createTime;

    @TableField("update_time")
    private LocalDateTime updateTime;

    @TableField("pet_type")
    private String petType;

    @TableField("IS_ACTIVE")
    private Boolean isActive;
    private String userId;

}
